package com.situ.personal.service;

import java.util.List;

import com.situ.personal.entity.PageInfo;
import com.situ.personal.entity.User;
import com.situ.personal.vo.UserDeptVO;

public interface IUserService {
	public List<User> selectAll();

	public PageInfo<User> selectByPage(int pageNo, int pageSize);

	public void deleteById(int id);

	public boolean insert(User user);

	public User selectById(int id);

	public void update(User user);

	public List<UserDeptVO> selectUserDeptInfo();

	public User login(String name, String password);
}
